package inter;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class People {

	public int number, password;
	public String contact, target;
	public String sendMessage, recieveMessage;
	private StringProperty text = new SimpleStringProperty();
	public Reciever reciever = new Reciever();
	public Thread readData = new Thread(reciever);
	public int sendPort, recievePort;

	public People() {
		this.text = new SimpleStringProperty();
	}

	public StringProperty textProperty() {
		return text;
	}

	public final String getText() {
		return textProperty().get();
	}

	public final void setText(String text) {
		textProperty().set(text);
	}

}
